package com.fh.web.vo;

import java.util.List;

/**
 * 树形结构bo
 * @author wzj
 *
 */
public class ShowTreeVo {
	/**编号*/
	private String id;
	/**树节点显示内容*/
	private String text;
	/**树节点状态*/
	private String state = "open";// open,closed
	/**树节点是否选中*/
	private boolean checked = false;
	/**封装树跳转地址熟悉*/
	private Object attributes;
	/**子节点*/
	private List<ShowTreeVo> children;
	/**子节点地址*/
	private String url;
	/**树节点图标*/
	private String iconCls;
	/**父节点id*/
	private String pid;
	
	//节点等级
	private String level;
	/**
	 * 目录所需属性
	 */
	/**目录类型 */
	private Integer catalogTypeId;
	/**目录等级*/
	private Integer catalogLevel;
	private String pType;
	
	
	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public Object getAttributes() {
		return attributes;
	}

	public void setAttributes(Object attributes) {
		this.attributes = attributes;
	}

	public List<ShowTreeVo> getChildren() {
		return children;
	}

	public void setChildren(List<ShowTreeVo> children) {
		this.children = children;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getpType() {
		return pType;
	}

	public void setpType(String pType) {
		this.pType = pType;
	}

	public Integer getCatalogTypeId() {
		return catalogTypeId;
	}

	public void setCatalogTypeId(Integer catalogTypeId) {
		this.catalogTypeId = catalogTypeId;
	}

	public Integer getCatalogLevel() {
		return catalogLevel;
	}

	public void setCatalogLevel(Integer catalogLevel) {
		this.catalogLevel = catalogLevel;
	}


}
